/*
	The directives starting with # below ensures that this file is read by the compiler only once
	even if it is #included several times. It is call an "include guard"
*/
#ifndef CATEGORY_H_
#define CATEGORY_H_

#include <string>

using namespace std;

struct Category {
public:
	// constructors
	Category () {}
	Category (int id, string name) : cat_id(id), cat_name(name){} //CR A3 
    // utility functions
	string display() const{					//CR S1
		return cat_name;					//CR S1
	}										//CR S1
	int get_id() const{						//CR S1
		return cat_id;						//CR S1
	}										//CR S1

private:
   //constants
     
   // private data
	int cat_id;
	string cat_name;
};


#endif //CATEGORY_H_
